package org.jeecg.modules.kuybFeilb.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: kuyb_feilb
 * @Author: jeecg-boot
 * @Date:   2021-09-13
 * @Version: V1.0
 */
@Data
@TableName("kuyb_feilb")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="kuyb_feilb对象", description="kuyb_feilb")
public class KuybFeilb implements Serializable {
    private static final long serialVersionUID = 1L;

    /**主键*/
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private java.lang.String id;
    /**A:欧美，B:日韩，C:国产*/
    @Excel(name = "A:欧美，B:日韩，C:国产", width = 15, dicCode = "sandcx")
    @Dict(dicCode = "sandcx")
    @ApiModelProperty(value = "A:欧美，B:日韩，C:国产")
    private java.lang.String carTrain;
    /**0:国产，1：进口*/
    @Excel(name = "0:国产，1：进口", width = 15, dicCode = "yn")
    @Dict(dicCode = "yn")
    @ApiModelProperty(value = "0:国产，1：进口")
    private java.lang.String isImport;
    /**出厂指导价-起*/
    @Excel(name = "出厂指导价-起", width = 15)
    @ApiModelProperty(value = "出厂指导价-起")
    private java.math.BigDecimal priceStart;
    /**出厂指导价-止*/
    @Excel(name = "出厂指导价-止", width = 15)
    @ApiModelProperty(value = "出厂指导价-止")
    private java.math.BigDecimal priceEnd;
    /**所属产品ID*/
    @Excel(name = "所属产品ID", width = 15, dictTable = "kuyb_chanp", dicText = "chanpmc", dicCode = "id")
    @Dict(dictTable = "kuyb_chanp", dicText = "chanpmc", dicCode = "id")
    @ApiModelProperty(value = "所属产品ID")
    private java.lang.String productId;
    /**车辆使用时长-月-起*/
    @Excel(name = "车辆使用时长-月-起", width = 15)
    @ApiModelProperty(value = "车辆使用时长-月-起")
    private Integer serviceLifeStart;
    /**车辆使用时长-月-止*/
    @Excel(name = "车辆使用时长-月-止", width = 15)
    @ApiModelProperty(value = "车辆使用时长-月-止")
    private Integer serviceLifeEnd;
    /**保修政策-时长*/
    @Excel(name = "保修政策-时长", width = 15, dicCode = "baoxnx")
    @Dict(dicCode = "baoxnx")
    @ApiModelProperty(value = "保修政策-时长")
    private java.lang.Integer warrantyPolicyTime;
    /**保修政策-里程*/
    @Excel(name = "保修政策-里程", width = 15, dicCode = "baoxlc")
    @Dict(dicCode = "baoxlc")
    @ApiModelProperty(value = "保修政策-里程")
    private java.lang.Integer warrantyPolicyMileage;
    /**保费*/
    @Excel(name = "保费", width = 15)
    @ApiModelProperty(value = "保费")
    private java.math.BigDecimal premium;
    /**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
    /**创建日期*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
    /**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
    /**更新日期*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
    /**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;

    @TableField(exist = false)
    private String carId;//
    //购买年期（团车保障期限）
    @TableField(exist = false)
    private String goumnx;//

    //购买里程（团车保障里程）
    @TableField(exist = false)
    private String goumlc;//
    // 行驶里程
    @TableField(exist = false)
    private String xingslc;//

    // 购买年限和里程 翻译
    @TableField(exist = false)
    private String goumnxName;//

    //初登日期
    @TableField(exist = false)
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date chudrq;//

    // 保障年限，仅供查询定位费率用
    @Dict(dicCode = "goumnx")
    String policyTimeMileage;

    //   1 进口  0 国产;
    @TableField(exist = false)
    String shifjk;//  1 进口  0 国产;
    //   1 进口  0 国产;
    @TableField(exist = false)
    String city;//  投保城市
    // 能源类型
    @Dict(dicCode = "nengylx")
    String nengylx;
}
